package com.wswy.wyjk.model;

import android.support.annotation.DrawableRes;
import com.wswy.wyjk.R;

/**
 * 考证类型
 */
public enum  LicenseType {

    /**
     * 小车 C1/C2/C3
     */
    CAR("xc","小车","C1/C2/C3", R.drawable.icon_xiaoche),
    /**
     * 货车 A2/B2
     */
    TRUCK("hc","货车","A2/B2",R.drawable.icon_huoyun),
    /**
     * 客车 A1/A3/B1
     */
    BUS("kc","客车","A1/A3/B1",R.drawable.icon_huoche),

    /**
     * 摩托车 D/E/F
     */
    MOTO("mtc","摩托车","D/E/F",R.drawable.icon_motuoche),
    /**
     * 货运
     */
    HUOYUN("zgzhy","货运",null,R.drawable.icon_huoyun),

    /**
     * 客运
     */
    KEYUN("zgzky","客运",null,R.drawable.icon_keyun),

    /**
     * 教练
     */
    JIAOLIAN("zgzjl","教练",null,R.drawable.icon_jiaolianyuan),

    /**
     * 危险品
     */
    WEIXIAN("zgzwxp","危险品",null,R.drawable.icon_weixianpin),

    /**
     * 出租
     */
    CHUZU("zgzcz","出租",null,R.drawable.icon_chuzuche),

    /**
     * 网约
     */
    WANGYUE("zgzwyc","网约",null,R.drawable.icon_wangyueche);



    private String type;
    @kotlin.jvm.JvmField
    public String  title;
    private String typeAbbr;
    private @DrawableRes
    int icon;


    LicenseType(String type,String title,String typeAbbr,int icon) {
        this.type = type;
        this.title = title;
        this.typeAbbr = typeAbbr;
        this.icon = icon;
    }

    public String getTypeName() {
        return type;
    }


    public String getTitle() {
        return title;
    }

    public String getTypeAbbr() {
        return typeAbbr;
    }

    public int getIcon() {
        return icon;
    }
}
